package com.design.patterns.command;

/**
 * @Author: jinxuan
 * @Date: 2021/3/3 19:24
 */
public class SellStock implements Order {
    private Stock abcStock;

    public SellStock(Stock abcStock){
        this.abcStock = abcStock;
    }

    public void execute() {
        abcStock.sell();
    }
}
